@charset "UTF-8";
@import "public";
@import "usual";
/*header start*/
.head-top {
  background: #FCFCFC;
  border-bottom: 1px solid #EDEEF0;

  .h-top-main {
    @include main;
    height: 36px;
    display: flex;
    justify-content: space-between;

    .h-t-left {
      font-size: 12px;
      color: $orange;

      a {
        display: inline-block;
        padding: 12px 0;
      }
    }

    .h-t-right {
      font-size: 12px;
      color: #333333;
      display: flex;

      a {
        display: flex;
        height: 12px;
        padding: 12px 20px;
        align-items: center;
        position: relative;

        i {
          font-size: 12px;
          margin: 0 4px;
        }

        .icon-down {
          display: inline-block;
          width: 10px;
          height: 5px;
          margin: 0 0 0 5px;
          overflow: hidden;
          vertical-align: middle;
          font-size: 12px;
          line-height: 13px;
          background: url('../img/index/h_t_right_icon.png') 0 0 no-repeat;
        }

        .shopping-num {
          position: absolute;
          top: 2px;
          right: 0;
          display: inline-block;
          padding: 1px 0;
          font-size: 12px;
          line-height: 12px;
          color: #fff;
          background-color: #ff6600;
          border-radius: 7px 7px 7px 0;
          min-width: 12px;
          text-align: center;
        }

        img {
          margin-right: 4px;
        }
      }

      a:hover {
        padding: 12px 19px;
        border-left: 1px solid #eaeaea;
        border-right: 1px solid #eaeaea;
        color: #ff6600;
      }
    }
  }
}

.head-content {
  @include main;
  display: flex;
  height: 100px;
  padding-top: 20px;

  .searchAll {
    margin-top: 20px;
    margin-left: 10px;

    .search-top {
      display: flex;
      border: 2px solid #ff6600;

      input {
        width: 458px;
        height: 32px;
        padding: 8px 10px;
        box-sizing: border-box;
      }

      button {
        width: 90px;
        height: 32px;
        text-align: center;
        cursor: pointer;
        background: #ff6600;
        font-size: 16px;
        color: #fff;
      }
    }

    .hotSearch {
      display: flex;
      font-size: 12px;
      color: #666666;
      margin-top: 8px;

      li {
        margin-right: 10px;

        a {
          display: flex;

          img {
            height: 16px;
            margin-top: -4px;
          }
        }
      }
    }
  }

  .h-c-right {
    display: flex;
    margin-left: 86px;
    margin-top: 17px;

    .phoneImg {
      width: 58px;
      height: 40px;
      background: url('../img/index/phone_icon.jpg') no-repeat;
      position: relative;

      b {
        width: 1px;
        height: 34px;
        background: #ddd;
        top: 3px;
        right: -10px;
        display: block;
        position: absolute;
      }
    }

    .quality {
      width: 75px;
      height: 40px;
      margin-left: 20px;
      display: inline-block;
      background: url('../img/index/phone_icon.jpg') no-repeat -58px 0;
    }
  }
}

.head-foot {
  @include main;
  display: flex;
  position: relative;

  .classAll {
    width: 200px;
    font-size: 14px;
    @include lineCenter(40px);
    padding-left: 10px;
    background: $orange;
    color: #ffffff;
    position: relative;
    margin-left: 5px;

    .classTitle {
      display: block;
      width: 100%;
      height: 100%;
    }

    .classContent {
      width: 210px;
      background: rgba(50, 50, 50, 0.9);
      position: absolute;
      z-index: 99999;
      left: 0;
      top: 40px;

      li {
        display: flex;
        height: 64px;
        border-bottom: 1px solid #555;
        box-sizing: border-box;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 0 9px 15px;
        border-bottom: 1px solid #555555;

        .class-top {
          line-height: 20px;
          font-size: 14px;
          color: #ffffff;
        }

        .class-bottom {
          line-height: 20px;
          font-size: 12px;
          color: #999999;
        }
      }

      li:last-child {
        border: none;
        height: 66px;
      }

      li:hover, .active {
        background: #ffffff;
        border-color: #ffffff;

        div {
          color: #666666;
        }
      }
    }

    .classText {
      position: absolute;
      left: 210px;
      z-index: 99999;
      box-shadow: 4px 0 5px rgba(0, 0, 0, 0.2);

      li {
        display: none;
        justify-content: space-between;
        width: 730px;
        height: 448px;
        padding: 10px 20px;
        background: #ffffff;

        .classText-dl {
          width: 545px;
          font-size: 12px;

          dt {
            @include lineCenter(16px);
            color: $orange;
            font-weight: bold;
            padding: 10px 0;
            border-bottom: 1px solid #eeee;
          }

          dd {
            color: #333333;
            line-height: 26px;

            span {
              color: #dddddd;
              padding: 0 5px 0 15px;
            }
          }
        }

        .classText-right {

          .classDL-right {
            width: 165px;

            dd {
              display: flex;
              height: 174px;
              box-sizing: border-box;
              flex-wrap: wrap;
              justify-content: space-between;
              align-content: space-between;
              padding: 8px 0;
            }

            .classDD-top a {
              display: flex;
              justify-content: center;
              width: 78px;
              height: 27px;
              line-height: 27px;
              background: $orange;
              color: #ffffff;
              text-align: center;

              i {
                display: block;
                font-size: 12px;
                transform: rotate(90deg);
              }

              &:hover {
                background: #ff5600;
              }
            }

            .classDD-bottom img {
              width: 80px;
              height: 40px;
            }
          }
        }
      }
    }
  }

  .titleAll {
    display: flex;
    font-weight: bold;
    color: #333333;
    font-size: 14px;

    li {
      margin-left: 50px;

      a {
        display: block;
        @include lineCenter(40px);
      }
    }
  }

  .advertise {
    height: 40px;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;

    a {
      display: flex;
      height: 40px;
      align-items: center;
    }
  }
}

/*header end*/

/*aside start*/
aside {
  display: flex;
  width: 330px;
  height: 100%;
  position: fixed;
  right: -300px;
  top: 0;
  z-index: 99999;

  .aside-left {
    width: 30px;
    height: 100%;
    background: #333333;
    display: flex;
    flex-direction: column;
    justify-content: center;

    .a-left-main {
      display: flex;
      flex-direction: column;

      a {
        display: flex;
        width: 30px;
        height: 38px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: $orange;

        i {
          color: $orange;
        }

        &:hover {
          background: $orange;
          color: #ffffff;
        }

        &:hover i {
          color: #ffffff;
        }
      }

      .shopCar {
        height: 133px;
        border: solid #666666;
        border-width: 1px 0 1px;
        margin: 20px 0;

        a {
          height: 100%;
          color: #ffffff;
          font-size: 12px;
          font-weight: bold;


          p {
            text-align: center;
            width: 14px;
            line-height: 18px;
            margin: 8px 0;
          }

          .shopCar-num {
            width: 21px;
            height: 21px;
            display: block;
            border-radius: 50%;
            background: #ff6600;
            text-align: center;
            line-height: 21px;
          }

          &:hover .shopCar-num {
            color: $orange;
            background: #ffffff;
          }
        }
      }
    }

    .a-left-bottom {
      display: flex;
      flex-direction: column;
      position: absolute;
      bottom: 0;
      left: 0;
      color: $orange;
      font-size: 12px;

      a {
        width: 30px;
        height: 38px;
        @include flex-col-aCenter;
        justify-content: center;

        .iconfont {
          font-size: 12px;
        }

        &:hover {
          color: #ffffff;
          background: $orange;
        }
      }

    }
  }

  .aside-right {
    position: relative;
    flex: 1;
    height: 100%;
    background: #f5f5f5;

    .a-right-top {
      height: 20px;
      padding: 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      color: #73726f;
      font-size: 16px;
      border-bottom: 1px solid #e1e1e1;

      .shopCar-logo {
        display: flex;
        align-items: center;

        i {
          font-size: 20px;
        }
      }

      .closeCar {
        transition: all 0.3s ease;

        &:hover {
          display: block;
          transform: rotate(180deg);
        }
      }
    }

    .aside-goodsList {
      height: 89%;
      overflow: auto;

      .aside-goodsItem {
        background: #fff;
        overflow: hidden;
        padding: 15px 5px;
        border-bottom: 1px dashed #e1e1e1;
        position: relative;

        input {
          float: left;
          margin: 25px 0 0 0;
          cursor: pointer;
        }

        .goodsImg {
          border: 1px solid #ddd;
          float: left;
          margin-right: 10px;
          margin-left: 6px;

          img {
            width: 60px;
            height: 60px;
          }
        }

        .goodsMsg {
          width: 141px;
          float: left;

          h3 {
            display: block;
            font-size: 12px;
            line-height: 19px;
            height: 38px;
            overflow: hidden;
            color: #616161;
            margin-bottom: 6px;
            cursor: pointer;

            &:hover {
              color: $orange;
            }
          }

          .goodsPrice {
            font-size: 12px;
            margin-top: 10px;

            span {
              color: $orange;
            }
          }
        }

        .aside-delete {
          position: absolute;
          top: 15px;
          right: 20px;

          i {
            font-size: 12px !important;
          }
        }
      }
    }

    .noReplace {
      position: absolute;
      top: 50%;
      margin-top: -57px;
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      height: 114px;

      p {
        font-size: 16px;
        margin-top: 24px;
        color: #616161;
      }

      a {
        font-size: 12px;
        color: $orange;
        margin-top: 12px;
      }
    }

    .a-right-bottom {
      width: 276px;
      position: absolute;
      bottom: 0;
      padding: 12px;
      background: #f5f5f5;

      .goodsData {
        display: flex;
        align-items: center;
        height: 28px;
        font-size: 12px;
        color: #333333;

        span {
          &:nth-of-type(1) {
            margin: 0 15px;
          }

          &:nth-of-type(2) {
            width: 100px;
          }
        }

        em {
          color: $orange;
        }
      }

      .goShopCar {
        display: block;
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        color: #ffffff;
        @include lineCenter(40px);
        background: $orange;
      }
    }
  }
}

/*aside end*/

/*footer start*/
footer {
  .foot-first {
    background: $orange;

    .foot-first-main {
      @include main;
      display: flex;
      height: 65px;
      justify-content: space-between;
      align-items: center;

      a {
        display: flex;
        width: 232px;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #ffffff;
        font-weight: bold;

        img {
          margin-right: 10px;
        }
      }
    }
  }

  .foot-second {
    @include main;
    display: flex;
    justify-content: space-between;
    padding: 40px 0;

    .service-list {
      display: flex;
      width: 950px;
      height: 200px;
      justify-content: space-between;
      color: #333333;

      .listItem {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: space-between;

        dl {
          font-size: 12px;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          dt {
            font-size: 16px;
            font-weight: bold;
            margin-bottom: 10px;
          }

          dd {
            display: flex;
            align-items: center;
            height: 24px;
          }
        }
      }
    }

    .service-info {
      display: flex;
      width: 250px;
      height: 200px;
      position: relative;

      img {
        position: absolute;
        top: -20px;
      }

      .info-text {
        position: absolute;
        right: 0;
        top: 40px;
        text-align: right;
        color: #666;
        display: flex;
        height: 130px;
        flex-direction: column;
        justify-content: space-between;

        p {
          &:nth-child(1) {
            font-size: 18px;
          }

          &:nth-child(2) {
            font-size: 30px;
            color: $orange;
            font-weight: bold;
          }

          &:nth-child(3) {
            font-size: 12px;
          }
        }

        a {
          align-self: flex-end;
          display: inline-block;
          color: #ff6600;
          border: 1px solid #ff6600;
          border-radius: 5px;
          padding: 5px 35px;

          &:hover {
            color: #ffffff;
            background: $orange;
          }
        }
      }
    }
  }

  .foot-third {
    background: #333333;
    padding: 20px 0;

    .foot-third-main {
      @include main;

      p {
        &:nth-of-type(1) {
          color: #ffffff;
          font-size: 16px;
        }

        &:nth-of-type(2), &:nth-of-type(3) {
          color: #a4a4a4;
          font-size: 12px;
        }

        &:nth-of-type(2) {
          margin-top: 20px;
        }

        &:nth-of-type(3) {
          margin-top: 10px;
        }
      }

      .secure {
        display: flex;
        margin-top: 20px;

        li {
          margin-right: 20px;

          a {
            display: flex;
          }
        }
      }

      .linkList {
        display: flex;
        color: #a4a4a4;
        font-size: 12px;
        margin-top: 30px;

        li {
          margin-right: 10px;
        }
      }
    }
  }
}

/*footer start*/